package me.yate.agent;

import java.io.File;
import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

import org.apache.log4j.BasicConfigurator;
import org.snmp4j.agent.io.ImportModes;
import org.snmp4j.agent.test.TestAgent;
import org.snmp4j.smi.OctetString;

/**
 * Servlet implementation class AgentServlet
 */
public class AgentServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;

    /**
     * Default constructor. 
     */
    public AgentServlet() {
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see Servlet#init(ServletConfig)
	 */
	public void init(ServletConfig config) throws ServletException {
		TestAgent.start();
	}

}
